home *** CD-ROM | disk | FTP | other *** search
/ Game Programming in C++ - Start to Finish / GameProgrammingS.iso / tools_install / doxygen-1.4.4-setup.exe / {app} / examples / afterdoc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-12-05  |  365 b   |  19 lines

  1. /*! A test class */
  2.  
  3. class Test
  4. {
  5.   public:
  6.     /** An enum type. 
  7.      *  The documentation block cannot be put after the enum! 
  8.      */
  9.     enum EnumType
  10.     {
  11.       int EVal1,     /**< enum value 1 */
  12.       int EVal2      /**< enum value 2 */
  13.     };
  14.     void member();   //!< a member function.
  15.     
  16.   protected:
  17.     int value;       /*!< an integer value */
  18. };
  19.